Skip to content

Simplify Boolean overrides in the Browser toolbar - #829

Merged
roncohen merged 1 commit into
mainfrom
fix/toolbar-boolean-override-state
Nov 27, 2026
Merged

roncohen merged 1 commit into
mainfrom
fix/toolbar-boolean-override-state

Conversation

@roncohen

Copy link
Copy Markdown
Contributor

What changed

The Browser toolbar now renders each switch from the SDK’s effective Boolean value and tracks override presence separately. This removes the leftover isEnabledOverride field and redundant override application in the toolbar. Both reset controls now pass undefined directly to the v2 override API.

The toolbar remains Boolean-only and uses diagnostic reads that do not send flag checks. The SDK’s public API, override storage, and user-facing behavior are unchanged; no migration is needed.

Verification

  • Browser SDK type checks and all 277 runtime tests passed. Toolbar tests exercise setting and clearing both true and false overrides through the switch and reset link, without using check-recording reads.
  • Browser SDK build and all 48 Playwright cases passed across Chromium, Firefox, and WebKit.
  • Lint, formatting, and git diff --check passed for the changed files.

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: low

no actionable findings

@roncohen
roncohen added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit e41a6cb Nov 27, 2026
9 checks passed
@roncohen
roncohen deleted the fix/toolbar-boolean-override-state branch November 27, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant